Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 2 - Providers / Providers Reference
Functions / Controlling a Provider's Mode of Operation


OTDontAckSends

Specifies that a provider copy data before sending it.

C INTERFACE
OSStatus OTDontAckSends(ProviderRef ref);
C++ INTERFACE
OSStatus TProvider::DontAckSends();
PARAMETERS
ref
The provider reference of the provider that is sending data.
DESCRIPTION
By default, providers do not acknowledge sends. You need to call the OTDontAckSends function only if you have used the OTAckSends function to turn on send-acknowledgment for a provider.

If a send is currently outstanding on the provider, from a call to the OTSnd, OTSndUData, OTSndUReply, OTSndURequest, OTSndReply, or OTSndrequest function, the OTDontAckSends function returns a kOTChangeStateErr message.

SEE ALSO
To prevent buffer copying and request completion events for provider functions that send data, call the OTAckSends function, described on page 2-36.

To find out whether a provider is acknowledging sends, call the OTIsAckingSends function (page 2-38).

For additional information, see "Setting a Provider's Send-Acknowledgment Status" on page 2-10.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996